package com.mooc.mapper;

import com.mooc.entity.Music;

import java.util.List;

/**
 * 
 * @author ccnoobs-wyf
 *
 */
public interface MusicMapper {
	public List<Music> musicsearch(String scarch);
	public List<Music> selectAllMusic();
	public List<Music> freemusic();
	public List<Music> vipmusic();
	Music selectlastmusic();
    int deleteByPrimaryKey(String id);

    int insert(Music record);

    int insertSelective(Music record);

    Music selectByPrimaryKey(long id);

    int updateByPrimaryKeySelective(Music record);

    int updateByPrimaryKey(Music record);
}